package com.dhcc.bpm.modules.log.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @ClassName TradeVolumnVo.class
 * @Description 交易量视图实体类
 * @Author xiaFaYu
 * @Date 2019-12-16 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@ApiModel(value = "TradeVolumnVo", description = "交易量")
public class TradeVolumnVo {

    private static final long serialVersionUID = 1L;
    /**
     * 请求时间
     */
    private String requestTime;
    /**
     * 请求日期
     */
    private String requestDate;
    /**
     * 当日交易总数
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long num;
    /**
     * 当日成功数
     */
    private Long successNum;
    /**
     * 当日响应数
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long responseNum;
    /**
     * 当日成功率
     */
    private String rate;
    /**
     * 当日失败数
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private Long fail;
    /**
     * 接口Code
     */
    private String apiCode;
    /**
     * 时耗
     */
    private Long requestConsume;

}
